import service from '@/utils/request'

// @Tags SysLicence
// @Summary 创建SysLicence
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysLicence true "创建SysLicence"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /sysLicence/createSysLicence [post]
export const createSysLicence = (data) => {
     return service({
         url: "/sysLicence/createSysLicence",
         method: 'post',
         data
     })
 }


// @Tags SysLicence
// @Summary 删除SysLicence
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysLicence true "删除SysLicence"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /sysLicence/deleteSysLicence [delete]
 export const deleteSysLicence = (data) => {
     return service({
         url: "/sysLicence/deleteSysLicence",
         method: 'delete',
         data
     })
 }

// @Tags SysLicence
// @Summary 删除SysLicence
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除SysLicence"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /sysLicence/deleteSysLicence [delete]
 export const deleteSysLicenceByIds = (data) => {
     return service({
         url: "/sysLicence/deleteSysLicenceByIds",
         method: 'delete',
         data
     })
 }

// @Tags SysLicence
// @Summary 更新SysLicence
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysLicence true "更新SysLicence"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /sysLicence/updateSysLicence [put]
 export const updateSysLicence = (data) => {
     return service({
         url: "/sysLicence/updateSysLicence",
         method: 'put',
         data
     })
 }


// @Tags SysLicence
// @Summary 用id查询SysLicence
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysLicence true "用id查询SysLicence"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /sysLicence/findSysLicence [get]
 export const findSysLicence = (params) => {
     return service({
         url: "/sysLicence/findSysLicence",
         method: 'get',
         params
     })
 }


// @Tags SysLicence
// @Summary 分页获取SysLicence列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取SysLicence列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /sysLicence/getSysLicenceList [get]
 export const getSysLicenceList = (params) => {
     return service({
         url: "/sysLicence/getSysLicenceList",
         method: 'get',
         params
     })
 }